<?php
function full_user_listing() {
		mysql_connect("localhost", "root", "")or die("Could not connect: " . mysql_error());
		mysql_select_db("druvla_public") or die(mysql_error());
		$userid = $_SESSION['userid'];
$results = mysql_query("SELECT * FROM users");
while($row = mysql_fetch_array($results)) {
	if(!$userid == $row['user_pid']) {
	echo $row['first_name'] . " " . $row['last_name'];
	echo "<form method='GET' action='processing/lib/process-send-friend-request.php?'>";
	echo '<input name="accepted" type="submit" value="Send User Request" /><br />';
	echo '<input name="AddedMessage" placeholder="Add a message?" type="textbox" />';
	echo '<br>Select Friend Type: ' . '<br />Full: ';
	echo '<input name="full_friend" type="checkbox"';
	echo '<input type="hidden" name="id" value="' . $row["id"] . '" />';
	echo '</form>';
	echo "<br /><hr />";
	} elseif ($userid == $row['user_pid']) {
	echo $row['first_name'] . " " . $row['last_name'];
	echo "<br />";
	echo "You al are "
	}
}
}
?>